DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanSort Method / CanSort<T>(IDataCollection<T>,String) Method
The data collection.
The path of the data item to which the sort would be applied.

In This Topic
    CanSort<T>(IDataCollection<T>,String) Method
    In This Topic
    Returns true if the data collection supports sorting.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CanSort(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal sortPath As String _
    ) As Boolean
    public static bool CanSort<T>( 
       IDataCollection<T> dataCollection,
       string sortPath
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    sortPath
    The path of the data item to which the sort would be applied.

    Type Parameters

    T
    See Also